package com.wsl.basicserver.Service.Impl;

import com.wsl.basicdao.mapper.UserMapper;
import com.wsl.basicdao.pojo.User;
import com.wsl.basicserver.Service.UserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class UserServiceImpl implements UserService {
    @Resource
    private UserMapper userMapper;
    @Override
    public List<User> getAllUser() {
        return userMapper.getAll();
    }
}
